*{padding: 0;margin: 0;box-sizing: border-box;list-style: none;}

html,body{
	width: 100%;
	height: 100%;
	background: #f3f3f3;
}
.bg{
	width: 940px;
	margin:  30px auto;
}
.bg ul li{
	float: left;
	width: 300px;
	height: 200px;
	margin-left: 10px;
	margin-top: 10px;
	padding: 4px;
	border: solid 1px #ccc;
	background: #fff;
	position: relative;
}
.bg ul li p{
	width: 300px;
	height: 40px;	
	text-align: center;	
	background: mistyrose;
	opacity: 0.5;
	position: absolute;
	left: 0;
	top: 160px;
	display: none;
}
.bg ul li p a{
	display: block;
	width: 300px;
	height: 40px;
	text-decoration: none;
	color:blue;
	line-height: 40px;
}
img{
	width: 100%;
	height: 100%;
}
